<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Attendance extends Model
{

    protected $table = 'zd_attendances';

    //列表
    static function list(){
        $where = [];
        $model = self::where($where)
            ->get()
            ->toArray();

        return $model;
    }

    //添加数据
    static function add($insert){

        $model = self::insert($insert);

        return $model;
    }


}
